package com.wnxy.producer.a_simple;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class App {

    @Autowired
    private WorkProducer workProducer;

    @Test
    public void simple() {
        for (int i = 0; i < 10; i++) {
            workProducer.sendMsg("Hello，My Honney Rabbit！");
        }
    }
}
